pub struct Counter {
    current_line: usize,
}

impl Default for Counter {
    fn default() -> Self {
        Self { current_line: 1 }
    }
}

impl Counter {
    pub fn current(&self) -> usize { self.current_line }
    pub fn next(&mut self) {
        self.current_line += 1
    }
}